package main.java.chessfootball.model.game;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * User: Igor
 * Date: 10.06.2011
 * Time: 22:13:36
 */
public enum Uniform
{
	RED(0, "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "X"),
	BLUE(1, "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K");

	private static Uniform[] inverts = {Uniform.BLUE, Uniform.RED};

	private int id;
	private List<String> prints;

	Uniform(int id, String ... prints)
	{
		this.id = id;
		this.prints = new ArrayList<String>(prints.length);
		this.prints.addAll(Arrays.asList(prints));
	}

	public int getId()
	{
		return id;
	}

	public Uniform getInvert()
	{
		return inverts[id];
	}

	public List<String> getPrints()
	{
		return prints;
	}
}
